Telegram Group & Telegram Channel
⚠️ Debugging: инструменты для поиска багов

Для C++ инструменты помогающие находить и исправлять ошибки имеют такое же значение, как и само написание кода. Сама же отладка превращается в искусство, которое призвано заставить код работать не только быстро, но и выполнять возложенные на него задачи.

Делимся арсеналом инструментов для разных типов багов.

Memory issues:

• Valgrind (Linux/Mac) — поиск утечек и ошибок доступа
• AddressSanitizer (-fsanitize=address) — встроенный в GCC/Clang
• Dr. Memory (Windows)

Performance:

• gprof — профайлинг CPU
• perf (Linux) — системное профилирование
• Intel VTune — продвинутое профилирование

Thread issues:

• ThreadSanitizer (-fsanitize=thread)
• Helgrind (Valgrind tool)

Static analysis:

• clang-static-analyzer
• PVS-Studio
• PC-lint Plus

Это всего лишь небольшая часть, которая используется для борьбы с насекомыми, но достаточная, чтобы попробовать улучшить свой код.

🔍 Какие инструменты для отладки используете чаще всего? Есть любимые фишки?

Библиотека C/C++ разработчика #междусобойчик



tg-me.com/cppproglib/5768
Create:
Last Update:

⚠️ Debugging: инструменты для поиска багов

Для C++ инструменты помогающие находить и исправлять ошибки имеют такое же значение, как и само написание кода. Сама же отладка превращается в искусство, которое призвано заставить код работать не только быстро, но и выполнять возложенные на него задачи.

Делимся арсеналом инструментов для разных типов багов.

Memory issues:

• Valgrind (Linux/Mac) — поиск утечек и ошибок доступа
• AddressSanitizer (-fsanitize=address) — встроенный в GCC/Clang
• Dr. Memory (Windows)

Performance:

• gprof — профайлинг CPU
• perf (Linux) — системное профилирование
• Intel VTune — продвинутое профилирование

Thread issues:

• ThreadSanitizer (-fsanitize=thread)
• Helgrind (Valgrind tool)

Static analysis:

• clang-static-analyzer
• PVS-Studio
• PC-lint Plus

Это всего лишь небольшая часть, которая используется для борьбы с насекомыми, но достаточная, чтобы попробовать улучшить свой код.

🔍 Какие инструменты для отладки используете чаще всего? Есть любимые фишки?

Библиотека C/C++ разработчика #междусобойчик

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5768

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

In many cases, the content resembled that of the marketplaces found on the dark web, a group of hidden websites that are popular among hackers and accessed using specific anonymising software.“We have recently been witnessing a 100 per cent-plus rise in Telegram usage by cybercriminals,” said Tal Samra, cyber threat analyst at Cyberint.The rise in nefarious activity comes as users flocked to the encrypted chat app earlier this year after changes to the privacy policy of Facebook-owned rival WhatsApp prompted many to seek out alternatives.Библиотека C C разработчика | cpp boost qt from ru


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA